/**
 * 
 */
package com.magnusart.scrumppm.gui;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.widgets.Display;

/**
 * A bold font
 * @author Magnus Andersson
 *
 */
final class FontFormatter
{
	/**
	 * Placeholder for the bold font
	 */
	private final static Font font;

	/**
	 * Initialize the bold font.
	 */
	static {
		// Setup a bold font
		FontData bold = new FontData(  );
		bold.setStyle( SWT.BOLD );
		font  = new Font( Display.getCurrent(),  bold );
	}

	/**
	 * No instances allowed
	 */
	private FontFormatter() { /* Nothing here */ }
	
	/**
	 * Get a Bold font instance.
	 * @return Font object formatted as bold.
	 */
	public static Font getBoldFont() {		
		return font;
	}
}
